<?php

namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
class ExampleController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
        //
    }

    //
    public function home()
    {
        $results = DB::select('select * from midtown_user where id = 1');
      loginfo(json_encode($results));
        return view('example.home', array('xr'=>'xr'));
    }

}
